package com.test.demo.entity.e;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("sys_datasource_config")
public class DataSourceProperties {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String datasourceKey;
    
    private String driverClassName;
    
    private String url;
    
    private String username;
    
    private String password;
    
    private String dbType;
    
    private String description;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;

    private String host;
    
    /**
     * 状态：0-禁用 1-启用
     */
    private Integer status;
} 